<template>
  <div class="home">
    <!-- 头部导航statr -->
    <Header />
    <!-- 头部导航end -->
    <!-- 快速注册start -->
    <div class="image">
      <div class="image-wrap">
        <img src="../assets/image/fast-reg.png" alt="" />
        <div></div>
      </div>
    </div>
    <!-- 快速注册end -->

    <!-- 搜索start -->
    <div class="search">
      <Search />
    </div>
    <!-- 搜索end -->
    <!-- 主体main-start -->
    <Main />
    <!-- 主体main-end -->
    <!-- 职位position-start -->
    <p class="position-text">
      <span></span>
      热招职位
      <span></span>
    </p>
    <Position />
    <!-- 职位position-end -->
    <!-- NewJobList-start -->
    <p class="position-text">
      <span></span>
      最新发布职位
      <span></span>
    </p>
    <NewJobList />
    <!-- NewJobList-end -->
    <!-- 底部导航start -->
    <BottomNav />
    <!-- 底部导航end -->
  </div>
</template>

<script>
import Header from '../components/Header/index'
import Search from '../components/Search/Search'
import Main from '../components/Main/index'
import Position from '../components/Position/index'
import NewJobList from '../components/NewJobList/index'
import BottomNav from '../components/BottomNav/index'
export default {
  name: 'Home',
  components: {
    Header,
    Search,
    Main,
    Position,
    NewJobList,
    BottomNav,
  },
}
</script>
<style scoped>
.home {
  background-color: #f6f6f8;
  position: relative;
}

/* 快速注册start */
.image {
  width: 100%;
  height: 120px;
  background-color: #5dd5cb;
}
.image-wrap {
  width: 1084px;
  margin: auto;
}
.image-wrap img {
  width: 354px;
  height: 120px;
}

/* 快速注册end */
/* 搜索start */
.search {
  width: 100%;
  height: 130px;
}

/* 搜索end */
/* 职位position-start */
.position-text {
  text-align: center;
  font-size: 24px;
  color: #414a60;
  margin: 30px;
}
.position-text span {
  display: inline-block;
  width: 50px;
  height: 2px;
  vertical-align: 8px;
  background-color: #414a60;
}
/* 职位position-end */
</style>
